home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / science / fastmap.zip / TABLE.DOC < prev    next >
Text File  |  1992-07-15  |  7KB  |  126 lines

  1.                                     TABLE.DOC
  2.  
  3.                            Documentation for TABLE.EXE
  4.  
  5.         This is a very simple program which takes the output from MLINK 
  6.         or LINKMAP and tabulates it in a more easily digestible form. It 
  7.         can also produce files suitable for graphing lod scores or for 
  8.         input to HOMOG, BTEST and FASTMAP. 
  9.  
  10.         The input file is the OUTPUT.DAT file which the LINKAGE programs 
  11.         produce. When using LINKSYS this file is renamed to be        
  12.         FILENAME.RES. With LCP or the LINKSYS program MCP it is possible 
  13.         to run a whole load of analyses all at once and output them into 
  14.         one results file. If you do this TABLE will not work correctly - 
  15.         it expects to find the output from only one analysis by either 
  16.         LINKMAP or MLINK. If you have set up a batch file to run several 
  17.         analyses at once, you must edit the output so that the results 
  18.         from each analysis is in a different .RES file. TABLE has 
  19.         actually only been tested with the results files produced by 
  20.         LINKSYS v. 4.11 and LINKAGE v. 4.7 and 5. With LINKMAP it 
  21.         assumes that the test locus is named first and that the whole 
  22.         map has been produced. With MLINK it assumes that the "lod score 
  23.         table" output option has been selected. TABLE may work in other 
  24.         circumstances - I just haven't tried it. 
  25.  
  26.         If you are working with more than one pedigree at a time then 
  27.         make sure that the "byfamily" switch in the Linkage programs is 
  28.         set to true so that likelihood scores are output for each family 
  29.         - it will not increase the time that it takes the program to 
  30.         run. Otherwise only the total lod scores across pedigrees will 
  31.         be available. 
  32.  
  33.         If your results have ended up in FILENAME.RES then to use TABLE 
  34.         just enter:
  35.  
  36.         TABLE FILENAME
  37.  
  38.         A new file will be created on your disk called FILENAME.TAB. 
  39.         This contains a table of lod scores at different recombination 
  40.         frequencies, or with LINKMAP at different distances taking 
  41.         distance 0 to be at 0% recombination with the leftmost fixed 
  42.         marker. The lod scores are calculated by subtracting the log10 
  43.         likelihood at theta=50% from the log10 likelihood at other 
  44.         recombination fractions. Reombination fractions are converted to 
  45.         distances in centimorgans using the Kosambi mapping function.
  46.  
  47.         There are five optional switches which can be used with TABLE 
  48.         to produce other files: 
  49.         
  50.         TABLE FILENAME /G /H /A /B /I
  51.         
  52.         If /G is selected a file called FILENAME.GRP will be created. 
  53.         This provides the input for a Shareware graphing program 
  54.         available from me called EASIGRAF, which forms part of the 
  55.         EASISTAT package. To see the graph of lod scores one simply 
  56.         enters: 
  57.         
  58.         EASIGRAF FILENAME.GRP
  59.         
  60.         If /H is selected a file called FILENAME.HOM is produced which 
  61.         can be read in by Jurg Ott's HOMOG program to perform the A-test 
  62.         of homogeneity of linkage. (See Ott, 1985 Analysis of Human 
  63.         Genetic Linkage, John Hopkins University Press and Ott, Ann Hum 
  64.         Genet 47:311-320, 1983). A version of the program is available 
  65.         from Jurg Ott but unfortunately this no longer uses the same 
  66.         format as the listing in the book so some editing would be 
  67.         necessary. The source code for a version transcribed into C 
  68.         which uses the original format is included together with the 
  69.         executable. 
  70.  
  71.         If /A is selected then the TABLE program itself performs the A-
  72.         test calculations. It outputs the adjusted lod score (log 10 of 
  73.         the likelihood ratio) obtained under the assumption of 
  74.         heterogeneity, called A-lod, together with alpha, the fraction 
  75.         of linked families which produce this maximum lod. It does not 
  76.         explicitly perform the test for statistical significance which 
  77.         the HOMOG program does. To do this by hand, subtract the maximum 
  78.         conventional (total) lod from the maximum value of A-lod and 
  79.         multiply by 2ln(10) (twice the natural log of 10, about 4.605). 
  80.         This may be taken as a chi-squared statistic with one degree of 
  81.         freedom providing evidence to support the hypothesis of 
  82.         heterogeneity if linkage is assumed. 
  83.  
  84.         If /I is selected a file called FILENAME.INP is created which 
  85.         contains recombination fraction and lod score pairs as needed 
  86.         for input into the FASTMAP program. This produces estimates of 
  87.         multipoint lod scores from two-point scores, and has been 
  88.         submitted for publication to Human Heredity. It is available 
  89.         from me or (preferably) from the gene-server ftp site or one of 
  90.         its mirrors (gene-server@bchs.uh.edu or 
  91.         gene-server%bchs.uh.edu@CUNYVM, send mail with subject: SEND DOS 
  92.         HELP). Normally, only recombination fractions between 0.01 and 
  93.         0.4 are output. It probably isn't advisable to change this, but 
  94.         if you do want to try it you can change the values for 
  95.         MIN_RF_TO_FIT and MAX_RF_TO_FIT in TABLE.C and recompile it.
  96.  
  97.         If /B is selected a file called FILENAME.BTE is produced which 
  98.         can be input into Neil Risch's BTEST program for homogeneity of 
  99.         linkage. (See Risch, Am J Hum Genet, 42:353-364, 1988). Copies 
  100.         of this program are available from Neil Risch at Yale University 
  101.         School of Medicine, Department of Epidemiology and Public 
  102.         Health, 60 College Street, PO Box 3333, New Haven, CT 06510; 
  103.         (203) 785-2838; BITNET: RISCH@YALEMED. 
  104.  
  105.         Note that to produce input for HOMOG and BTEST the .RES file 
  106.         must (obviously) contain output from more than one pedigree and 
  107.         the likelihoods by family must be available. For BTEST the 
  108.         output must be from MLINK, and not LINKMAP. 
  109.  
  110.         I hope people find this useful.
  111.  
  112.  
  113.         Dave Curtis July 1992
  114.         
  115.  
  116.         Academic Department of Psychiatry
  117.         St Mary's Hospital Medical School
  118.         Praed Street
  119.         London W2 1NY, England                   Phone:  071 725 1993
  120.  
  121.         Janet:       dcurtis@UK.AC.CRC
  122.         Elsewhere:   dcurtis@CRC.AC.UK
  123.         EARN/Bitnet: dcurtis%CRC@UKACRL
  124.         Usenet: ...!mcsun!ukc!mrccrc!D.Curtis
  125.         
  126.